#ifndef __CUST_EXTI_H__
#define __CUST_EXTI_H__

enum
{
	EXTI_LINE0,
	EXTI_LINE1,
	EXTI_LINE2,
	EXTI_LINE3,
	EXTI_LINE4,
	EXTI_LINE5,
	EXTI_LINE6,
	EXTI_LINE7,
	EXTI_LINE8,
	EXTI_LINE9,
	EXTI_LINE10,
	EXTI_LINE11,
	EXTI_LINE12,
	EXTI_LINE13,
	EXTI_LINE14,
	EXTI_LINE15,
	EXTI_LINE_MAX,
};
void EXTI_Init(void);
void EXTI_Register(GPIO_TypeDef *Port, uint8_t LineSn, uint32_t Mode, uint32_t Pull, MyCBFun_t CB, void *Param);
void EXTI_OnOff(uint8_t LineSn, uint8_t OnOff);
#endif
